package com.yang.service;

import java.util.Map;

public interface CheckOutService {

    /**
     * 查看需要多少钱续租
     * @param roomNun
     * @param day
     * @return
     */
    public Map<String,Object> dectection(String roomNun,int day);

    /**
     * 续租
     * @param roomNum
     * @param day
     * @param money
     * @return
     */
    public Map<String,Object> relet(String roomNum,int day,float money);

    /**
     * 住房结算
     * @param roomNum
     * @return
     */
    public Map<String,Object> settleAccounts(String roomNum);

    /**
     * 查询订单日期过了，但未结账的订单
     * @param roomNum
     * @param name
     * @return
     */
    public Map<String,Object> selectUnchecked(String roomNum,String name);

    /**
     * 通过结算编号把已经过期但没有结账的房间结账
     * @param orderId
     * @return
     */
    public Map<String,Object> finishUnchecked(long orderId);
}
